package cn.com.thinvent.dispatch.dao;

import cn.com.thinvent.dispatch.entity.MajorExpenseDetails;
import cn.com.thinvent.dispatch.entity.MajorExpensesDetailsMapping;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MajorExpensesDetailsMappingMapper {

    void insert(MajorExpensesDetailsMapping record);

    void update(MajorExpensesDetailsMapping record);

    void delete(String id);

    MajorExpensesDetailsMapping select(String id);

    int batchInsert(@Param("list") List<MajorExpensesDetailsMapping> list);

    List<MajorExpensesDetailsMapping> getDetailsByMajorExpenseId(String majorExpenseId);

    void deleteByIds(@Param("idList") List<String> idList);
}
